﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web;
using Project.Engine.Utilities;
using Project.Module.DAO.BL;
using System.Web.SessionState;

namespace Project.Module.Controller
{
    public class LienHeController
    {
    }

    public partial class HomeController
    {
        [AcceptVerbs(HttpVerbs.Post)]
        public JsonResult GuiLienHe(string name, string content)
        {
            (new FeedBackBL()).InsertLienHe(name, content);
            return Json(new { result = 0 }, JsonRequestBehavior.AllowGet);
        }

        public ActionResult DeleteComment(int feedbackId) {
            (new FeedBackBL()).DeleteComment(feedbackId);
            return Redirect("/admin/quan-ly-phan-hoi");
        }
    }
}
